package com.bean;

import com.imessage.type.BusinessAppleState;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;
import java.io.Serializable;

@Getter
@Setter
@ToString
@Entity
@Table(name = "business_apple", schema = "public")
public class BusinessApple extends BaseModel implements Serializable {


    @Column(name = "apple_id", nullable = true, length = 255)
    private String appleId;

    @Column(name = "apple_passwd", nullable = true, length = 255)
    private String applePasswd;

    @Column(name = "state", nullable = true, length = 2)
    private BusinessAppleState state = BusinessAppleState.available;




}
